Smart Choices and the Selection Monad
نویسندگان
چکیده
Describing systems in terms of choices and their resulting costs rewards offers the promise freeing algorithm designers programmers from specifying how those should be made; implementations, can realized by optimization techniques and, increasingly, machine-learning methods. We study this approach a programming-language perspective. define two small languages that support decision-making abstractions: one with rewards, other additionally probabilities. give both operational denotational semantics. In case second language we consider three semantics, varying degrees correlation between possible program values expected rewards. The semantics combine usual standard constructs over spaces execution strategies. which are compositional, rely on selection monad, to handle choice, augmented an auxiliary monad effects, such as or probability. establish adequacy theorems coincide all cases. also prove full abstraction at base types, notions observation probabilistic corresponding various correlation. present axioms for choice combined probability, establishing completeness types without
منابع مشابه
The selection monad as a CPS transformation
A computation in the continuation monad returns a final result given a continuation, ie. it is a function with type (X → R) → R. If we instead return the intermediate result at X then our computation is called a selection function. Selection functions appear in diverse areas of mathematics and computer science (especially game theory, proof theory and topology) but the existing literature does ...
متن کاملUtilization and Customer Behavior: Smart Choices for the Smart Grid
The smart grid offers a wide array of opportunities to improve efficiency of the electricity grid via load management policies. This chapter reviews the current state of knowledge in the economics literature as it relates to time-varying pricing and to behavioral interventions, which together comprise a large portion of regulators’ policy choice set. The authors present evidence that consumers ...
متن کاملSmart Selection
Natural touch interfaces, common now in devices such as tablets and smartphones, make it cumbersome for users to select text. There is a need for a new text selection paradigm that goes beyond the high acuity selection-by-mouse that we have relied on for decades. In this paper, we introduce such a paradigm, called Smart Selection, which aims to recover a user’s intended text selection from her ...
متن کاملCodensity and the ultrafilter monad
Even a functor without an adjoint induces a monad, namely, its codensity monad; this is subject only to the existence of certain limits. We clarify the sense in which codensity monads act as substitutes for monads induced by adjunctions. We also expand on an undeservedly ignored theorem of Kennison and Gildenhuys: that the codensity monad of the inclusion of (finite sets) into (sets) is the ult...
متن کاملChoices, Choices: Task Selection Preference During Concurrent Multitasking
With the ever-increasing stream of information we are expected to deal with on a moment-to-moment basis, human multitasking behavior has become an important part of modern society. Multitasking can occur on many different timescales. Our interest is in concurrent multitasking: attempting to fulfill multiple goals in parallel. There have been many investigations to determine whether concurrent m...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Logical Methods in Computer Science
سال: 2023
ISSN: ['1860-5974']
DOI: https://doi.org/10.46298/lmcs-19(2:3)2023